package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 抽检任务对象 t_sampling_task
 * 
 * @author wuym
 * @date 2021-07-05
 */
public class TSamplingTaskDTO
{
    /** 生产订单号 */
    @Excel(name = "生产订单号")
    private String Mo_Code;

    /** 生产订单行号 */
    @Excel(name = "生产订单行号")
    private String Mo_SortSeq;

    /** 规格型号/件号 */
    @Excel(name = "规格型号/件号")
    private String Inv_Std;

    /** 客户产品 */
    @Excel(name = "客户产品")
    private String CustomerProducts;

    /** 存货编码 */
    @Excel(name = "存货编码")
    private String Inv_Code;

    /** 存货名称 */
    @Excel(name = "存货名称")
    private String Inv_Name;

    /** 客户交期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "客户交期", width = 30, dateFormat = "yyyy-MM-dd")
    private String CustomerDate;

    /** 操作人工号 */
    @Excel(name = "操作人工号")
    private String Op_Seq;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String Op_Name;

    /** 班组名称 */
    @Excel(name = "班组名称")
    private String Team_Name;

    /** 工单状态 */
    @Excel(name = "工单状态")
    private String WorkStatus;

    /** 抽检单号 */
    @Excel(name = "抽检单号")
    private String Sampling_No;


    public String getMo_Code() {
        return Mo_Code;
    }

    public void setMo_Code(String mo_Code) {
        Mo_Code = mo_Code;
    }

    public String getMo_SortSeq() {
        return Mo_SortSeq;
    }

    public void setMo_SortSeq(String mo_SortSeq) {
        Mo_SortSeq = mo_SortSeq;
    }

    public String getInv_Std() {
        return Inv_Std;
    }

    public void setInv_Std(String inv_Std) {
        Inv_Std = inv_Std;
    }

    public String getCustomerProducts() {
        return CustomerProducts;
    }

    public void setCustomerProducts(String customerProducts) {
        CustomerProducts = customerProducts;
    }

    public String getInv_Code() {
        return Inv_Code;
    }

    public void setInv_Code(String inv_Code) {
        Inv_Code = inv_Code;
    }

    public String getInv_Name() {
        return Inv_Name;
    }

    public void setInv_Name(String inv_Name) {
        Inv_Name = inv_Name;
    }

    public String getCustomerDate() {
        return CustomerDate;
    }

    public void setCustomerDate(String customerDate) {
        CustomerDate = customerDate;
    }

    public String getOp_Seq() {
        return Op_Seq;
    }

    public void setOp_Seq(String op_Seq) {
        Op_Seq = op_Seq;
    }

    public String getOp_Name() {
        return Op_Name;
    }

    public void setOp_Name(String op_Name) {
        Op_Name = op_Name;
    }

    public String getTeam_Name() {
        return Team_Name;
    }

    public void setTeam_Name(String team_Name) {
        Team_Name = team_Name;
    }

    public String getWorkStatus() {
        return WorkStatus;
    }

    public void setWorkStatus(String workStatus) {
        WorkStatus = workStatus;
    }

    public String getSampling_No() {
        return Sampling_No;
    }

    public void setSampling_No(String sampling_No) {
        Sampling_No = sampling_No;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("moCode", getMo_Code())
            .append("moSortseq", getMo_SortSeq())
            .append("invStd", getInv_Std())
            .append("customerproducts", getCustomerProducts())
            .append("invCode", getInv_Code())
            .append("invName", getInv_Name())
            .append("customerDate", getCustomerDate())
            .append("opSeq", getOp_Seq())
            .append("opName", getOp_Name())
            .append("teamName", getTeam_Name())
            .append("workStatus", getWorkStatus())
            .toString();
    }
}
